<template>
	<div class="bread-crumb">
		<SvgIcon icon-name="location" class="bread-crumb-icon"  style="width: 24px; height: 24px;"></SvgIcon>
		<el-breadcrumb separator="/">
			<el-breadcrumb-item>{{props.item.first}}</el-breadcrumb-item>
			<el-breadcrumb-item v-if="props.item.secound">{{props.item.secound}}</el-breadcrumb-item>
		</el-breadcrumb>
	</div>
</template>

<script setup>
	import SvgIcon from './SvgIcon.vue'
	const props = defineProps(["item"])
</script>

<style scoped lang="scss">
.bread-crumb {
    height: 30px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    :deep(.el-breadcrumb__item) {
        height: 30px;
        font-size: 16px;
        line-height: 30px;
    }
    :deep(.el-breadcrumb__inner) {
        font-weight: 500;
    }
    .bread-crumb-icon {
        margin-right: 4px;
    }
}
</style>  